package com.leeoohoo.focus.dto;

import com.leeoohoo.focus.FocusOn;
import com.oohoo.spacestationspringbootstarter.dto.query.DTO;
import com.oohoo.spacestationspringbootstarter.dto.query.annotation.From;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@From(FocusOn.class)
public class FocusOnDTO implements DTO {

    private Long userId;

    private Integer type;

    @NotNull(message = "请选择要关注的人")
    private Long otherUserId;
}
